package kr.hyunist.androidcomplete02saeildamil.ch20;

import android.*;
import android.app.*;
import android.os.*;

public class ListFragmentTest extends Activity {
	public static String[] WORDS = { "boy", "girl", "school", "hello", "go" };

	public static String[] DESC = { "소년", "소녀", "학교", "안녕", "가!" };

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		FragmentManager fm = getFragmentManager();
		if(fm.findFragmentById(R.id.content) == null){
			WordListFragment wf = new WordListFragment();
			fm.beginTransaction().add(android.R.id.content, wf).commit();
		}
	}
}
